The webpage cache is controlled by the cache-control in the HTTP message header. common values include private, no-cache, Max-age, must-revalidate, etc. The default value is private http://www.jb51.net/article/34017.htm.
The function of browser
The function of browser review is divided into the following situations:(1) open a new windowIf the values are private, no-cache, and must-revalidate, the server will be accessed again when a new window is opened.If the max-age value is specified,
Syntax: Expires [TIME|EPOCH|MAX|PFF] Default: Offexpires Command controls the "expires" and "Cache-control" header header information in an HTTP response, and starts controlling the page cache for time: You can use positive or negative numbers. The
Document directory
1 403 Access forbidden
2 404 object not found
3 401 Access Denied
4 302 Object Moved
5 500 Internal Server Error
Understanding HTTP message header (2) Common HTTP return code in the previous article, I briefly talked about
Session_cache_limiter (private, must-revalidate)Table 1:Specify the buffer control method used by the session page:When session_cache_limiter ('private') is used to make the form history. Go (-1), The entered content is not lost! To avoid page
Dhtml| Source code DHTML enables us to develop powerful Web application clients that are cross-browser compatible, interoperable, and portable. Its disadvantage is that users can view JavaScript code directly. This article describes how to use ASP
Dhtml| source code skillfully use ASP technology to protect DHTML source code
2001-8-18 Network pioneer
DHTML enables us to develop powerful Web application clients that are cross-browser compatible, interoperable, and portable. Its disadvantage is
The session principle and application of PHPer in the process of learning sessions and cookies are mostly for beginners. The following is some of the content of session and cookie sorting by the author. the following content is for PHP beginners, it
What will happen when you enter a URL? (Transfer), actual website1. First, you have to enter the URL in your browser:
2. Search for the IP address of the domain name in the browser
The first step in the navigation is to find the IP address of the
I have written an article [http protocol details]. This time I will continue to introduce the caching mechanism in HTTP. The HTTP Protocol provides a very powerful caching mechanism. Understanding these caching mechanisms is very helpful for
First, the homepage contains a text input and an IFRAME that shows the chat content, and a hidden IFRAME used to submit the form:
CopyCode The Code is as follows: // Chat. php
Header ('cache-control: Private ');
Header ('content-type: text/html;
First, use the header method to set the message header cache-control
Quote:Header ('cache-control: private, must-revalidate'); // supports page Jump back
Second, use the session_cache_limiter method.
Quote:// Note that it should be written
From: http://article.yeeyan.org/view/54517/91367
As a software developer, you will surely have a complete hierarchical understanding of how network applications work. The technologies used by these applications include browsers, HTTP, HTML, network
However, there is a situation that cannot be prevented:
After the user submits the form, click the back button of the browser to return to the form page. At this time, the browser will directly retrieve the page from the cache, so the token
Once the Web project is deployed, the pictures, CSS, and JS in the project are rarely changed, so if the components are cached in the browser client instead of being fetched from the server, the site's visitors will be heavily relieved of the server'
PHP is less practical than Tips. 1. simply determine the validity of an IP address. email regular expression judgment 3. example 4: Check whether the IP address and mask are valid. about form refresh 5. about form refresh 1. simply determine IP
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.